home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / pulsax.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  75 lines

  1. // defines the pulsax Turret
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_pulsax_GSH
  8. #define INCLUDED_pulsax_GSH
  9.  
  10. #include "defaults.gsh"
  11. #include "pulsaxfrag.gsh"
  12.  
  13. ////////////////////////////////////////////////////////////////////////////////////
  14.  
  15. hierarchy Hcy_pulsax
  16. {
  17.     file "units\pulsax.RIF"
  18.     name "pulsax"
  19.     hotspot "Dum Flash"
  20. }
  21.  
  22. hierarchy Hcy_Pulsax_Shadow
  23. {
  24.     file "units\pulsax vlow.RIF"
  25.     name "Pulsax vlow"
  26.     hotspot "dum flash"
  27. }
  28.  
  29. character Chr_pulsax : Chr_DefaultBaddie
  30. {
  31.     turning speed   0.5
  32.     walking speed   0    // doesn't move
  33.     weapon            plasmatrix
  34.     strength        60
  35.     aim                0    // spot on!
  36.     height            0.6    // for targeting purposes
  37.     sight angle        89    // in degrees
  38.     sight range        10    // in metres
  39.     hearing range        00    // in metres
  40.     aggression        1    // from 0 to 1
  41.     shadow hierarchy    Hcy_Pulsax_Shadow
  42.     gun yaw angle    90    // in degrees
  43.     elevation angle 20    // in degrees
  44.     can turn        no
  45.     vision cone        no
  46.     always cpu controlled yes
  47. }
  48.  
  49. // msoke trail from the barrel when firing
  50. pgenerator Pgn_pulsax
  51. {
  52.     type fire
  53.     life infinite
  54.     rate 4
  55.     // stream direction
  56.     x 0 y 0 z 0
  57.     // particle colour
  58.     red 0.1 green 0.1 blue 0.1 alpha 0.7
  59. }
  60.  
  61. role Rol_pulsax : Rol_DefaultRobot
  62. {
  63.     pgen            Pgn_pulsax
  64.     shape            Hcy_pulsax
  65.     character        Chr_pulsax
  66.     armour             5
  67.     ai            popup
  68.     identifier        "pulsax"
  69.     destructibility        Frg_pulsax
  70. }
  71.  
  72. ////////////////////////////////////////////////////////////////////////////////////
  73.  
  74. // end wrapper - for preventing multiple or recursive inclusions
  75. #endif // !INCLUDED_pulsax_GSH